import React, {Component} from 'react';

import Iheader from './component/Iheader';
import Ibody_hero from './component/Ibody_hero';
import Ibody_survey from './component/Ibody_survey';
import Ibody_share from './component/Ibody_share';
import Ibody_about from './component/Ibody_about';
import './App.css';
import {Affix, Button} from 'antd';

class App extends Component {

    render() {
        return (
            <div className="all">
                <div className="head">
                    <Iheader/>
                </div>
                {/**固钉显示联系方式**start**/}
                {/*<div>*/}
                    {/*<Affix*/}
                        {/*// className="flex_image"*/}
                        {/*offsetTop={400} onChange={affixed => console.log(affixed)}>*/}
                        {/*<Button className="flex_image">120px</Button>*/}
                    {/*</Affix>*/}
                {/*</div>*/}
                {/**固钉显示联系方式***end***/}
                <div className="body">
                    <Ibody_hero/>
                    <Ibody_share/>
                    <Ibody_survey/>
                    <Ibody_about/>
                </div>
            </div>
        );
    }
}

export default App;
